import MyLayout from "../component/mylayout/mylayout";
import WithDva from '../util/store';
import HomeContainer from '../page/general/home/index'
import React from 'react'
import Link from 'next/link'

class Home extends React.Component {
    render() {
        return <MyLayout>
            {/*<HomeContainer {...this.props}/>*/}
            <Link href={"/setting/index"}>aaaaa</Link>
        </MyLayout>
    }
}

export default WithDva((state) => {
    return {store: state}
}, (dispatch) => {
    return {
        setUserCollectStore(payload) {
            return dispatch({type: "layout/setUserCollectStore", payload})
        }
    }
})(Home)